package com.yz.administrator.jiukuaijiu;

import android.app.Application;
import android.content.Context;

/**
 * Created by Administrator on 2017/2/27.
 */

public class App extends Application{
    private Context context;
    private static Context instance;

    public static Context getInstance() {
        return instance.getApplicationContext();
    }

    @Override
    public void onCreate() {
        super.onCreate();
        context=this;
        instance=this;
    }
}
